func go/types.allInteger
13 uses
go/types (current package)
expr.go#L69: token.XOR: allInteger,
expr.go#L571: if !allInteger(typ) {
expr.go#L904: if allInteger(x.typ) || isUntyped(x.typ) && xval != nil && xval.Kind() == constant.Int {
expr.go#L940: case allInteger(y.typ):
expr.go#L1030: if !allInteger(x.typ) {
expr.go#L1048: token.REM: allInteger,
expr.go#L1050: token.AND: allInteger,
expr.go#L1051: token.OR: allInteger,
expr.go#L1052: token.XOR: allInteger,
expr.go#L1053: token.AND_NOT: allInteger,
expr.go#L1143: if (x.mode == constant_ || allInteger(x.typ)) && y.mode == constant_ && constant.Sign(y.val) == 0 {
index.go#L388: if !allInteger(x.typ) {
predicates.go#L40: func allInteger(typ Type) bool { return allBasic(typ, IsInteger) }
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)